package com.aspose.cells;

class zbjr extends zck {
   zbjr(zn var1, float var2, float var3, zbkr var4) {
      super(var1, var2, var3, var4);
   }

   com.aspose.cells.b.a.b.a.ze a(com.aspose.cells.b.a.b.zq var1) {
      com.aspose.cells.b.a.b.a.ze var2 = new com.aspose.cells.b.a.b.a.ze();
      float var3 = 0.0F;
      float var4 = 0.0F;
      float var5 = 0.0F;
      float var6 = 0.0F;
      float var7 = 0.0F;
      com.aspose.cells.b.a.b.zo[] var8 = new com.aspose.cells.b.a.b.zo[32];
      float var9 = Math.min(var1.h(), var1.i());
      if (this.e.m != null) {
         if (this.e.m.a.size() > 0) {
            var3 = var9 * (com.aspose.cells.b.a.ze.a(this.e.m.a.get(0)) / 100000.0F);
            var4 = var9 * com.aspose.cells.b.a.ze.a(this.e.m.a.get(1)) / 100000.0F;
            var5 = var9 * com.aspose.cells.b.a.ze.a(this.e.m.a.get(2)) / 100000.0F;
            var6 = var1.i() * com.aspose.cells.b.a.ze.a(this.e.m.a.get(3)) / 100000.0F;
            var7 = var1.h() * com.aspose.cells.b.a.ze.a(this.e.m.a.get(3)) / 100000.0F;
         } else {
            var3 = var9 * 0.18515F;
            var4 = var9 * 18515.0F / 100000.0F;
            var5 = var9 * 18515.0F / 100000.0F;
            var6 = var1.i() * 48123.0F / 100000.0F;
            var7 = var1.h() * 48123.0F / 100000.0F;
         }
      } else {
         var3 = var9 * 0.18515F;
         var4 = var9 * 18515.0F / 100000.0F;
         var5 = var9 * 18515.0F / 100000.0F;
         var6 = var1.i() * 48123.0F / 100000.0F;
         var7 = var1.h() * 48123.0F / 100000.0F;
      }

      var8[0] = new com.aspose.cells.b.a.b.zo(var1.f(), var1.g() + var1.i() / 2.0F);
      var8[1] = new com.aspose.cells.b.a.b.zo(var1.f() + var5, var1.g() + var1.i() / 2.0F - var4);
      var8[2] = new com.aspose.cells.b.a.b.zo(var1.f() + var5, var1.g() + var1.i() / 2.0F - var3 / 2.0F);
      var8[3] = new com.aspose.cells.b.a.b.zo(var1.f() + (var1.h() - var7) / 2.0F, var1.g() + var1.i() / 2.0F - var3 / 2.0F);
      var8[4] = new com.aspose.cells.b.a.b.zo(var1.f() + (var1.h() - var7) / 2.0F, var1.g() + (var1.i() - var6) / 2.0F);
      var8[5] = new com.aspose.cells.b.a.b.zo(var1.f() + var1.h() / 2.0F - var3 / 2.0F, var1.g() + (var1.i() - var6) / 2.0F);
      var8[6] = new com.aspose.cells.b.a.b.zo(var1.f() + var1.h() / 2.0F - var3 / 2.0F, var1.g() + var5);
      var8[7] = new com.aspose.cells.b.a.b.zo(var1.f() + (var1.h() - 2.0F * var4) / 2.0F, var1.g() + var5);
      var8[8] = new com.aspose.cells.b.a.b.zo(var1.f() + var1.h() / 2.0F, var1.g());
      var8[9] = new com.aspose.cells.b.a.b.zo(var1.f() + var1.h() / 2.0F + var4, var1.g() + var5);
      var8[10] = new com.aspose.cells.b.a.b.zo(var1.f() + var1.h() / 2.0F + var3 / 2.0F, var1.g() + var5);
      var8[11] = new com.aspose.cells.b.a.b.zo(var1.f() + var1.h() / 2.0F + var3 / 2.0F, var1.g() + (var1.i() - var6) / 2.0F);
      var8[12] = new com.aspose.cells.b.a.b.zo(var1.f() + (var1.h() - (var1.h() - var7) / 2.0F), var1.g() + (var1.i() - var6) / 2.0F);
      var8[13] = new com.aspose.cells.b.a.b.zo(var1.f() + (var1.h() - (var1.h() - var7) / 2.0F), var1.g() + var1.i() / 2.0F - var3 / 2.0F);
      var8[14] = new com.aspose.cells.b.a.b.zo(var1.f() + var1.h() - var5, var1.g() + var1.i() / 2.0F - var3 / 2.0F);
      var8[15] = new com.aspose.cells.b.a.b.zo(var1.f() + var1.h() - var5, var1.g() + var1.i() / 2.0F - var4);
      var8[16] = new com.aspose.cells.b.a.b.zo(var1.f() + var1.h(), var1.g() + var1.i() / 2.0F);
      var8[17] = new com.aspose.cells.b.a.b.zo(var1.f() + var1.h() - var5, var1.g() + var1.i() / 2.0F + var4);
      var8[18] = new com.aspose.cells.b.a.b.zo(var1.f() + var1.h() - var5, var1.g() + var1.i() / 2.0F + var3 / 2.0F);
      var8[19] = new com.aspose.cells.b.a.b.zo(var1.f() + (var1.h() - (var1.h() - var7) / 2.0F), var1.g() + var1.i() / 2.0F + var3 / 2.0F);
      var8[20] = new com.aspose.cells.b.a.b.zo(var1.f() + (var1.h() - (var1.h() - var7) / 2.0F), var1.g() + (var1.i() - var6) / 2.0F + var6);
      var8[21] = new com.aspose.cells.b.a.b.zo(var1.f() + var1.h() / 2.0F + var3 / 2.0F, var1.g() + (var1.i() - var6) / 2.0F + var6);
      var8[22] = new com.aspose.cells.b.a.b.zo(var1.f() + var1.h() / 2.0F + var3 / 2.0F, var1.g() + var1.i() - var5);
      var8[23] = new com.aspose.cells.b.a.b.zo(var1.f() + var1.h() / 2.0F + var4, var1.g() + var1.i() - var5);
      var8[24] = new com.aspose.cells.b.a.b.zo(var1.f() + var1.h() / 2.0F, var1.g() + var1.i());
      var8[25] = new com.aspose.cells.b.a.b.zo(var1.f() + (var1.h() - 2.0F * var4) / 2.0F, var1.g() + var1.i() - var5);
      var8[26] = new com.aspose.cells.b.a.b.zo(var1.f() + var1.h() / 2.0F - var3 / 2.0F, var1.g() + var1.i() - var5);
      var8[27] = new com.aspose.cells.b.a.b.zo(var1.f() + var1.h() / 2.0F - var3 / 2.0F, var1.g() + (var1.i() - var6) / 2.0F + var6);
      var8[28] = new com.aspose.cells.b.a.b.zo(var1.f() + (var1.h() - var7) / 2.0F, var1.g() + (var1.i() - var6) / 2.0F + var6);
      var8[29] = new com.aspose.cells.b.a.b.zo(var1.f() + (var1.h() - var7) / 2.0F, var1.g() + var1.i() / 2.0F + var3 / 2.0F);
      var8[30] = new com.aspose.cells.b.a.b.zo(var1.f() + var5, var1.g() + var1.i() / 2.0F + var3 / 2.0F);
      var8[31] = new com.aspose.cells.b.a.b.zo(var1.f() + var5, var1.g() + var1.i() / 2.0F + var4);
      var2.b(var8);
      return var2;
   }
}
